<?php
if ($_POST["upload"] == "1")
	{
	$to = "C:\Program Files\EasyPHP-5.3.5.0\www\Uploads/".$_FILES['file']['name'];
	move_uploaded_file($_FILES['file']['tmp_name'], $to);
	echo "Uploaded";
	}
?>

<form method="post" enctype="multipart/form-data">
<input type="hidden" name="upload" value="1">
<input type="file" name="file">
<input type="submit" value="Upload">
</form>